:root, body, .root, .edit {
    width: 100%;
    height: 100%;
}

:root {
    --textColor: #f8f9fa;

    /* 字体大小 */
    --textSizeP: 14px;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    color: #000;
    font-size: var(--textSizeP);
    line-height: 24px;
    border: none;
    outline: none;
}

/* 
.load {
    background-image: linear-gradient(70deg, #7c4b40, #643441);
    filter: brightness(140%);
    text-align: center;
    border: solid 0.1px #643441;
} */

.edit {
    position: relative;
}

/* 录音布局设置 */
.edit .voice-box {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    position: absolute;
    z-index: 999;
}

.edit .voice-box .voice_edit_box {
    width: 100%;
    background: #fff;
    position: absolute;
    bottom: 40px;
    border-radius: 10px 10px 0px 0px;
}

.edit .voice-box .voice_edit_box .edit-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 15px 0 0 5px;
}

.edit .voice-box .voice_edit_box .edit-title button {
    position: absolute;
    background: #00000000;
}

.edit .voice-box .voice_edit_box .edit-title .record_cancel {
    right: 40px;
}

.edit .voice-box .voice_edit_box .edit-title .record_end {
    right: 10px;
}

.edit .voice-box .voice_edit_box .edit-title button svg {
    width: 20px;
    height: 20px;
    background: #fff;
}



.edit .voice-box .voice_edit_box .btn {
    width: 80%;
    margin: 0 10% 10px 10%;
}

.edit .voice-box .voice_edit_box .tishi {
    text-align: center;
    margin-bottom: 5px;
}

.edit .voice-box .voice_edit_box .upload {
    position: relative;
}

.edit .voice-box .voice_edit_box .upload input {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    opacity: 0;
}

.audio-player {
    width: 100%;
    height: 30px;
    border-radius: none;
    margin-top: 20px;
}

/* 信纸div 开始 */
.letters-box {
    width: 100%;
    height: 100%;
    position: absolute;
}

.letters-box .letter-paper-box {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
}




/* 顶部导航栏 */
.letters-box .letter-paper-box .edit-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: #fff;
    padding: 0 15px;
    z-index: 999;
}

.letters-box .letter-paper-box .edit-nav .top-nav {
    height: auto;
    margin-top: 3px;
}

.letters-box .letter-paper-box .edit-nav .top-nav .left {
    float: left;
}

.letters-box .letter-paper-box .edit-nav .top-nav .right {
    float: right;
}

.letters-box .letter-paper-box .edit-nav .top-nav button {
    width: auto;
    height: auto;
    text-align: center;
    border: none;
    background: #00000000;
}

.letters-box .letter-paper-box .edit-nav .top-nav .add_img {
    position: relative;
}

.letters-box .letter-paper-box .edit-nav .top-nav button input {
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.letters-box .letter-paper-box .edit-nav .top-nav button svg {
    display: inline-block;
    width: 50px;
    height: 25px;

}

.letters-box .letter-paper-box .edit-nav .top-nav .small_text span {
    line-height: 25px;
    font-size: 12px;
    padding-top: 5px;
    color: #515151;
    display: inline-block;
    height: 25px;
    width: 30px;
}







/* 文字信件 */
.letters-box .letter-paper-box {
    height: 100%;
}

.letters-box .letter-paper-box .letter-paper {
    background: repeating-linear-gradient(#fff, #fff 23px, rgb(88, 79, 79) 24px);
    /* 要适应行高 */
    width: calc(100% - 30px);
    height: auto;
    min-height: 200%;
    margin: 20px 15px 0px 15px;
    padding: 0px 5px;
}



.letters-box .letter-paper-box .letter-paper .paper-text {
    font-size: 16px;
    color: #000;
    opacity: 0.8;
    line-height: 24px;
    margin: 0;
    width: 100%;
    background: #00000000;
    /* overflow: hidden; */
    border: none;
    float: left;
}

.letters-box .letter-paper-box .letter-paper .paper-text img {
    overflow: hidden;
    width: 100%;
    max-height: 250px;
    height: auto;
    margin: 15px 0;
    border-radius: inherit;
    opacity: 1 !important;
    object-fit: cover;
    object-position: center center;
}

.letters-box .letter-paper-box .letter-paper .paper-text small {
    font-style: italic;
    font-size: 12px;
    color: rgb(153, 153, 153);
}

.letters-box .letter-paper-box .letter-paper .paper-text-right {
    font-size: 16px;
    color: #767171;
    line-height: 24px;
    text-align: right;
    width: 100%;
    background: #00000000;
    margin: 0;
    float: left;
}

.shitou {
    width: 100%;
    height: 50px;
    float: left;
}




/* 文字信件  结束 */



/* 语音信箱box */
.letters-box .letter-paper-box .voice-letter {
    width: calc(100% - 30px);
    height: 60px;
    background: #d1c8c8;
    margin: 10px 15px 0 15px;
    border-radius: 3px;
    padding: 5px;
}

.letters-box .letter-paper-box .voice-letter .left-text {
    height: 50px;
    width: calc(100% - 55px);
    float: right;
}

.letters-box .letter-paper-box .voice-letter .right-voice {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 2px;
    float: right;
    text-align: center;
}

.letters-box .letter-paper-box .voice-letter .right-voice svg {
    width: 20px;
    height: 20px;
    margin: 15px 0;
}

.letters-box .letter-paper-box .voice-letter .left-text p {
    margin: 0;
}

.letters-box .letter-paper-box .voice-letter .left-text .voice-title {
    font-size: 16px;
    color: #000;
    margin: 5px 0;
    font-weight: 400px;
}

.letters-box .letter-paper-box .voice-letter .left-text .voice-script {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

/* 信纸div  结束*/